package com.uroad.liaoningpos.activity;

import android.os.Bundle;
import android.view.View;

import com.uroad.liaoningpos.R;
import com.uroad.liaoningpos.common.BaseActivity;

import butterknife.ButterKnife;
import butterknife.OnClick;

/**
 * @创建者 wlw
 * @创建时间 2019/5/22 19:53
 * @描述 撤销 选择支付方式
 */
public class SelectCancelTypeActivity extends BaseActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setBaseContentLayout(R.layout.activity_select_cancel_type);
        ButterKnife.bind(this);
    }

    @OnClick({R.id.tvCancelSwipe, R.id.tvCancelScan})
    public void onClick(View view) {
        Bundle bundle = new Bundle();
        switch (view.getId()) {
            case R.id.tvCancelSwipe:
                bundle.putString("type", "106");
                break;
            case R.id.tvCancelScan:
                bundle.putString("type", "91");
                break;
        }
        openActivity(OrderCancelActivity.class, bundle);
    }

}
